<#include "/common/_layout.html"/>
<@layout/>
<script type="text/javascript" src="${ctx}/static/js/partner.js"></script>
</head>
<body class="easyui-layout">
<table id="dg" title="合作店列表" data-options="toolbar:'#toolbar',singleSelect: false">
	<thead>
		<tr>
			<th data-options="field:'id',hidden:true">id</th>
			<th data-options="field:'partnerName'" width="100">合作店名</th>
			<th align="center" width="100" data-options="field:'contacts'">联系人</th>
			<th align="center" width="100" data-options="field:'telephone'">联系电话</th>
			<th align="center" width="100" data-options="field:'address'">联系地址</th>
			<th align="center" width="100" data-options="field:'joinDate'">启动日期</th>
			<th align="center" width="100" data-options="field:'desc'">备注</th>
		</tr>
	</thead>
</table>

<div id="toolbar" style="padding:5px;height:auto;">
    <div id="toolbar" style="display:inline;margin-left:5px;">
     <a class="easyui-linkbutton" id="add" iconCls="icon-add" plain="true">添加</a><span class="toolbar-item dialog-tool-separator"></span>
	 <a class="easyui-linkbutton" id="del" iconCls="icon-remove" plain="true">删除</a><span class="toolbar-item dialog-tool-separator"></span>
	 <a class="easyui-linkbutton" id="edit" iconCls="icon-edit" plain="true">修改</a>
	</div>
</div>

<div id="addDialog" class="easyui-dialog" data-options="closed:true,modal:true,maximizable:true" style="width:380px;height:280px;">
<#include "add.html"/>
</div>
</body>
</html>